using System;
using System.Collections.Generic;
using FikriKibar.Entities.Abstract;


namespace FikriKibar.Entities.Concrete
{
    
    public class Language : IEntity{
        public int Id { get; set; }
        public string LanguageCode { get; set; }
        public string LanguageName { get; set; }
        public DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }
        public DateTime PublishBeginDate { get; set; }
        public DateTime PublishEndDate { get; set; }
        public int DisplayOrder { get; set; }
        public bool IsApproved { get; set; }

        public virtual ICollection<ContentCategoryLanguageLine> ContentCategoryLanguageLines { get; set; }
        public virtual ICollection<ContentLanguageLine> ContentLanguageLines { get; set; }
        public virtual ICollection<ContentTypeLanguageLine> ContentTypeLanguageLines { get; set; }
        public virtual ICollection<KeywordLanguageLine> KeywordLanguageLines { get; set; }
        public virtual ICollection<MenuItemLanguageLine> MenuItemLanguageLines { get; set; }
        public virtual ICollection<MenuLanguageLine> MenuLanguageLines { get; set; }
        public virtual ICollection<RoleLanguageLine> RoleLanguageLines { get; set; }
        public virtual ICollection<SettingLanguageLine> SettingLanguageLines { get; set; }
        public virtual ICollection<User> Users { get; set; }
        public virtual ICollection<UserGroupLanguageLine> UserGroupLanguageLines { get; set; }

        public Language()
        {
            ContentCategoryLanguageLines = new List<ContentCategoryLanguageLine>();
            ContentLanguageLines = new List<ContentLanguageLine>();
            ContentTypeLanguageLines = new List<ContentTypeLanguageLine>();
            KeywordLanguageLines = new List<KeywordLanguageLine>();
            MenuItemLanguageLines = new List<MenuItemLanguageLine>();
            MenuLanguageLines = new List<MenuLanguageLine>();
            RoleLanguageLines = new List<RoleLanguageLine>();
            SettingLanguageLines = new List<SettingLanguageLine>();
            Users = new List<User>();
            UserGroupLanguageLines = new List<UserGroupLanguageLine>();
        }
    }

}
